package com.kahluastudios.mealfinder.user;

import java.util.UUID;

import com.kahluastudios.mealfinder.BaseIdentifier;

public class UserAccountReference extends BaseIdentifier {
	
	private static final long serialVersionUID = -3937119874354381829L;
	
	private UUID value;
	
	private UserAccountReference() {}
	
	public UserAccountReference(UUID value) {
		this();
		setValue(value);
	}	

	public UUID getValue() { return value; }
	private void setValue(UUID value) { this.value = value; }
	
	@Override
	protected Object[] getConstituents() { return new Object[] {this.value}; }
	
	@Override
	public String toString() { return String.valueOf(this.value); }
}